package org.jeecg.modules.manage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.manage.entity.CaishuiBusinessUser;

import java.util.List;

/**
 * @Description: 商户用户表
 * @Author: yfkj
 * @Date:   2023-02-08
 * @Version: V1.0
 */
public interface IMCaishuiBusinessUserService extends IService<CaishuiBusinessUser> {

    /**
     * 外键关联分页查询
     * @param page
     * @param queryWrapper
     * @return
     */
    public IPage<CaishuiBusinessUser> pageMultiTable(IPage<CaishuiBusinessUser> page, QueryWrapper<CaishuiBusinessUser> queryWrapper);

    /**
     * 通过主表id查询子表数据
     *
     * @param mainId 主表id
     * @return List<CaishuiBusinessUser>
     */
    public List<CaishuiBusinessUser> selectByMainId(String mainId);

}
